<?php
/**
 * datasource => The name of a supported datasource; valid options are as follows:
 *		Database/Mysql 		- MySQL 4 & 5,
 *		Database/Sqlite		- SQLite (PHP5 only),
 *		Database/Postgres	- PostgreSQL 7 and higher,
 *		Database/Sqlserver	- Microsoft SQL Server 2005 and higher
 *
 * persistent => true / false
 * host =>
 * prefix => 
 * schema =>     //Postgres defaults to 'public'.
 * encoding =>   // For MySQL, Postgres specifies the character encoding
 * unix_socket => //For MySQL to connect via socket specify the `unix_socket` parameter instead of `host` and `port`
 **/

class DATABASE_CONFIG {

		public $default = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => '192.168.65.166',
		'login' => 'admin',
		'password' => '123456',
		'database' => 'mi_casa',
		'prefix' => '',
		'encoding' => 'utf8',
		'port' => '5433'

	);
	public $test = array(
		'datasource' => 'Database/Mysql',
		'persistent' => false,
		'host' => 'localhost',
		'login' => 'user',
		'password' => 'password',
		'database' => 'test_database_name',
		'prefix' => '',
		//'encoding' => 'utf8',
	);
	public $sigesp = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'tipo' => 'sigesp',
		'ambiente' => 'produccion'
		//'encoding' => 'utf8',
	);
	public $historico_sigesp = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'tipo' => 'historico_sigesp',
		'ambiente' => 'produccion'
		//'encoding' => 'utf8',
	);
	public $integrador = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => '192.168.66.11',
		'login' => 'utilitario',
		'password' => 'darwinjuan',
		'database' => 'integrador',
		'prefix' => '',
		'schema' => 'interfaces',
		'port' => '5432'

	);
	public $integrador_reporte = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => '192.168.66.11',
		'login' => 'utilitario',
		'password' => 'darwinjuan',
		'database' => 'integrador',
		'prefix' => '',
		'schema' => 'reportes',
		'port' => '5432'

	);
	public $postgres = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => '192.168.66.11',
		//'login' => 'jcarrizalez',
		//'password' => 'jodete',
    	'login' => 'utilitario',
		'password' => 'darwinjuan',
		'database' => 'postgres',
		'prefix' => '',
		'schema' => 'information_schema',
		'port' => '5432'

	);
	
	public $replica_precios = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => 'localhost',
		'login' => 'admin',
		'password' => 'j5d1j5',
		'database' => 'replica_precios',
		'prefix' => '',
		'port' => '5433'

	);

	public $integrador_precios = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => '192.168.66.11',
		'login' => 'utilitario',
		'password' => 'darwinjuan',
		'database' => 'integrador',
		'prefix' => '',
		'schema' => 'precios',
		'port' => '5432'

	);
        
        public $biometrico = array(
		'datasource' => 'Database/Postgres',
		'persistent' => false,
		'host' => '192.168.66.148',
		'login' => 'sistema',
		'password' => '**sistema**',
		'database' => 'biometrico',
		'prefix' => '',
		'port' => '5434'

	);

	public 	$seguridad = array(CnA_=>CnB_,CnC_=>BD1_);
	public 	$auditoria = array(CnA_=>CnB_,CnC_=>BD2_);
	public 	$maestros =  array(CnA_=>CnB_,CnC_=>BD3_);
}
